/* tool-expand */

.tool-expand {
    width: 100%;
    position: relative;
    margin: 20px 0;
    background: #282c34;
    overflow: hidden;
    box-shadow: 1px 1px 5px 0 #191919;
    border-radius: 8px;
}

.tool-expand__title { padding-top: 30px; position: relative; }
.tool-expand__title::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 12px;
    z-index: 1;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fc625d;
    box-shadow: 20px 0 #fdbc40, 40px 0 #35cd4b;
}

.tool-expand__expander {
    pointer-events: none;
    opacity: 0;
    cursor: pointer;
    position: absolute;
    top: 5px;
    font-size: 14px;
    color: #999;
    transition: all .25s;
}

.tool-expand__expander { right: 10px; }
.tool-expand__title:hover .tool-expand__expander {
    filter: brightness(1.2);
    pointer-events: auto;
    opacity: 1;
}

.tool-expand__toolbar {
    width: 100%;
    height: 30px;
    display: block;
    pointer-events: none;
    opacity: 1;
    left: 0;
    right: 0;
    top: 0;
    z-index: unset;
    line-height: 30px;
    text-align: center;
    position: absolute;
}

.toolbar__item {
    opacity: 1;
    position: relative;
    pointer-events: none;
    display: inline-block;
}

.toolbar__item:first-child span::before {
    content: attr(data-rel);
    font-weight: 700;
    font-size: 14px;
    color: #999;
}

.tool-expand__content {
    padding: 5px 12px 12px 18px;
    color: #fff;
    word-wrap: break-word;
}

.tool-expand__rotate {
    transform: rotate(90deg);
    transform-origin: center 10px;
    transition: transform 0.3s;
}
.tool-expand__close { display: none; }

/* github */

.github-box {
    border: 1px solid #30363d;
    border-radius: 6px;
    padding: 1rem;
    display: block;
    background: rgb(13,17,23);
    color: #7d8590!important;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.github-box-flex {
    display: flex;
    justify-content: space-between;
    word-wrap: break-word;
    font-size: 14px;
}

.flex-auto {
    margin-bottom: 4px;
    flex: auto;
    box-sizing: border-box;
}

.commits-data {
    display: flex;
    align-items: center!important;
}
@media (max-width: 768px) {
    .commits-data {
        display: none!important;
    }
}

.repo-title {
    color: #2f81f7!important;
    display: inline-block;
    font-weight: 600;
    font-size: 17px;
}

.repo-title:hover { text-decoration: underline!important; }
.repo-label {
    color: #7d8590!important;
    border: 1px solid #30363d;
    border-radius: 2em;
    display: inline-block;
    font-size: .75rem;
    line-height: 18px;
    padding: 0 7px;
    white-space: nowrap;
    margin: 0 0 .25rem .25rem;
}

.repo-desc {
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 1rem;
    color: #7d8590!important;
    font-size: 14.5px;
}

.detail-label { font-size: 14px; }
.mr-3 { margin-right: 1rem; }
.detail-label a { color: #7d8590!important; }
.detail-label a:hover { color: #2f81f7!important; }
.repo-language-color {
    position: relative;
    top: 1px;
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
}

.mr-1 {
    margin-right: .25rem;
    display: inline-block;
    overflow: visible;
    vertical-align: text-bottom;
    fill: currentColor;
}
.update-time { white-space: nowrap; }

/* dotted */

.tool_dotted {
    display: block;
    width: 100%;
    height: 2px;
    background-size: 80px;
    margin: 0 0 18px 0;
}

/* timeline */

.tool_timeline { line-height: 26px; }
.tool_timeline__item { position: relative; padding-bottom: 15px; }
.tool_timeline__item-tail {
    position: absolute;
    top: 0;
    left: 6px;
    height: 100%;
    border-left: 1px solid #414243;
}

.tool_timeline__item-circle {
    position: absolute;
    width: 13px;
    height: 13px;
    background-color: #232323;
    border-radius: 50%;
    border: 1px solid #19be6b;
}

.tool_timeline__item-content {
    padding-left: 24px;
    position: relative;
    top: -5px;
}

.tool_timeline__item-content *:last-child { margin-bottom: 0 !important; }
.tool_timeline__item:last-child { padding-bottom: 0; }

.tool_timeline__item:last-child .tool_timeline__item-tail  { display: none; }

/* tabs */

.tool_tabs {
    margin-bottom: 18px;
    width: 100%;
    overflow: hidden;
    background: #232323;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #414243;
    border-radius: 5px;
    line-height: 26px;
}

.tool_tabs__head {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    display: flex;
    background: #303030;
}

.tool_tabs__head-item {
    position: relative;
    padding: 0 15px;
    line-height: 40px;
    height: 40px;
    color: #777;
    cursor: pointer;
    transition: color 0.5s;
    white-space: nowrap;
    font-size: 14px;
}

.tool_tabs__head-item::after {
    content: "";
    position: absolute;
    background: #9999ff;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    opacity: 0;
    border-radius: 2px;
    transform: scaleX(0.5);
    transition: opacity 0.25s, transform 0.25s;
}

.tool_tabs__head-item.active  { color: #9999ff; }
.tool_tabs__head-item.active::after {
    opacity: 1;
    transform: scaleX(1);
}
.tool_tabs__body-item  { padding: 15px; }
.tool_tabs__body-item *:last-child  { margin-bottom: 0 !important; }

/* message */

.tool_message {
    display: block;
    position: relative;
    border-left-width: 4px;
    border-left-style: solid;
    padding: 8px 15px;
    border-radius: 0 4px 4px 0;
    line-height: 26px;
    margin: 0 0 18px 0;
}
.tool_message:hover .tool_message__icon  { transform: rotate(360deg); }
.tool_message__icon {
    position: absolute;
    top: -9px;
    left: -11px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    transition: transform 0.85s;
}

.tool_message__icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    fill: #fff;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.tool_message.success {
    border-left-color: #2bde3f;
    background: #2bde3f20;
    color: #2bde3f;
}

.tool_message.success .tool_message__icon  { background: #2bde3f; }
.tool_message.success .tool_message__icon::before  { background-image: url(); }
.tool_message.info {
    border-left-color: #1d72f3;
    background: #1d72f320;
    color: #1d72f3;
}
.tool_message.info .tool_message__icon  { background: #1d72f3; }
.tool_message.info .tool_message__icon::before  { background-image: url(); }
.tool_message.warning {
    border-left-color: #ffc007;
    background: #ffc00720;
    color: #ffc007;
}
.tool_message.warning .tool_message__icon  { background: #ffc007; }
.tool_message.warning .tool_message__icon::before  { background-image: url(); }
.tool_message.error {
    border-left-color: #f56c6c;
    background: #f56c6c20;
    color: #f56c6c;
}

.tool_message.error .tool_message__icon  { background: #f56c6c; }
.tool_message.error .tool_message__icon::before  { background-image: url(); }

/* mtitle */

.tool_mtitle {
    display: flex;
    justify-content: center;
}

.tool_mtitle__text {
    position: relative;
    color: #777;
    padding: 0 12px;
    transition: padding 0.35s;
}

.tool_mtitle__text:hover  { padding: 0; }
.tool_mtitle__text::before,
.tool_mtitle__text::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background: #9999ff;
}

.tool_mtitle__text::before  { left: -35px; }

.tool_mtitle__text::after  { right: -35px; }

/* lamp */

.tool_lamp {
    display: block;
    position: relative;
    width: 100%;
    height: 3px;
    border-radius: 1.5px;
    overflow: hidden;
    animation: lamp-background linear 4s infinite;
}

.tool_lamp::before,
.tool_lamp::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 1;
    animation: lamp-front linear 4s infinite;
}
.tool_lamp::before { right: 50%; transform-origin: right; }
.tool_lamp::after { left: 50%; transform-origin: left; }

/* progress */

.tool_progress {
    width: 100%;
    display: flex;
    align-items: center;
}

.tool_progress__strip {
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    background: #414243;
    min-width: 0;
    flex: 1;
    margin-right: 10px;
}

.tool_progress__strip-percent {
    position: relative;
    height: 100%;
    border-radius: 6px;
    transition: width 0.35s;
}

.tool_progress__strip-percent::before {
    content: "";
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    border-radius: 6px;
    animation: progress-active 3s ease-in-out infinite;
}
.tool_progress__percentage  { color: #777; }

/* iframe */
.iframe-dom {
    display: block;
    border: 0;
    margin: 0 auto;
    border-radius: 5px;
    -webkit-box-shadow: 1px 1px 3px 1px #1b1b1b;
    box-shadow: 1px 1px 3px 1px #1b1b1b;
}

/* GPT小标签 */

.gpt {
    position: relative;
    transition: all .3s ease-in-out;
    border-bottom: 2px dotted #715fde;
    cursor: help;
}

.gpt:hover  { background: rgba(113,95,222,.1); }

.gpt::after {
    z-index: 9999;
    content: "GPT";
    background-color: #715fde;
    display: inline-block;
    color: white;
    position: absolute;
    transform: translateX(-30px) translateY(24.5px);
    transition: opacity .3s, height 0.3s;
    opacity: 0;
    height: 0;
    width: 30px;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0;
    text-align: center;
    border-radius: 0 0 4px 4px;
}

.gpt:hover::after {
    opacity: 1;
    height: 18px;
}

/* 已纠正小标签 */

.modified {
    position: relative;
    transition: all .3s ease-in-out;
    border-bottom: 2px dotted #32CD32;
    cursor: help;
}

.modified:hover  { background: rgba(50,205,50,.1); }

.modified::after {
    z-index: 9999;
    content: "已纠正";
    background-color: #32CD32;
    display: inline-block;
    color: white;
    position: absolute;
    transform: translateX(-44px) translateY(24.5px);
    transition: opacity .3s, height 0.3s;
    opacity: 0;
    height: 0;
    width: 44px;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0;
    text-align: center;
    border-radius: 0 0 4px 4px;
}

.modified:hover::after {
    opacity: 1;
    height: 18px;
}

/* 不确定小标签 */

.not-sure {
    position: relative;
    transition: all .3s ease-in-out;
    border-bottom: 2px dotted #FFA500;
    cursor: help;
}

.not-sure:hover  { background: rgba(255,165,0,.1); }

.not-sure::after {
    z-index: 9999;
    content: "待确认";
    background-color: #FFA500;
    display: inline-block;
    color: white;
    position: absolute;
    transform: translateX(-44px) translateY(24.5px);
    transition: opacity .3s, height 0.3s;
    opacity: 0;
    height: 0;
    width: 44px;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0;
    text-align: center;
    border-radius: 0 0 4px 4px;
}
.not-sure:hover::after { opacity: 1; height: 18px; }

/* g2 x6 */

.language-x6, .language-g2 { display: none!important; }

/* root */

:root {
    --color-calendar-graph-day-L1-bg: #0e4429;
    --color-calendar-graph-day-L2-bg: #006d32;
    --color-calendar-graph-day-L3-bg: #26a641;
    --color-calendar-graph-day-L4-bg: #39d353;
}
